<div id="mediaplayer-wrapper">
	<div id="mediaplayer">
	</div>
</div>
<script type="text/javascript">
	jwplayer("mediaplayer").setup({
		flashplayer: SITE_URL+"media/js/player.swf",
		file: "<?php echo $media->getTargetFile('video')?>"
		//image: "preview.jpg"
	});
</script>